export default {
  upload: { //上传
    path: '',
    method: 'POST',
    app: 'yunji'
  },
  publishArticle: { // 保存文章
    path: '/article/saveArticle',
    method: 'POST'
  },
  deleteArticle: { // 删除文章
    path: '/article/delArticle',
    method: 'POST'
  },
  getArticleList: { // 获取文章列表
    path: '/admin/getArticleList',
    method: 'GET'
  },
  getArticleReadCount: { //获取文章阅读数
    path: '/article/count',
    method: 'GET'
  },
  getTypeList: { //获取分类列表
    path: '/admin/getCategory',
    method: 'GET'
  },
  getMenu: {
    path: '/admin/getCatalogueList',
    method: 'GET'
  },
  addType: {
    path: '/admin/insertCategory',
    method: 'GET'
  },
  editType: {
    path: '/admin/editCategory',
    method: 'GET'
  },
  deleteType: {
    path: '/admin/deleteCategory',
    method: 'GET'
  }
}
